このブックマークレットは、現在のウェブページのタイトルとURLをクリップボードにコピーします。
- 以下のコードをコピーします:
// Refactor this code using SRP (Single Responsibility Principle) | |
// To do this you need to decompose getRate into at least | |
// 2 functions: first will implement `retry` functionality, | |
// second will work with domain model (prepare call, get results) | |
// You may decompose to 3 functions or classes but please don't | |
// make over-engineering in Java style. | |
// Task from «Patterns for Async and Node.js» | |
// (Rethinking GRASP, SOLID, GoF for Frontend & Backend) | |
// 👉 https://t.me/asyncify |
version: "3.3" | |
services: | |
traefik: | |
image: "traefik:v2.2" | |
container_name: "traefik" | |
command: | |
- "--api=true" | |
- "--api.dashboard=true" |
#!/bin/bash | |
# Periksa apakah skrip dijalankan sebagai pengguna root | |
if [ "$(id -u)" != "0" ]; then | |
echo "Skrip ini harus dijalankan dengan izin pengguna root." | |
echo "Silakan coba gunakan perintah 'Gunakan sudo -i' untuk beralih ke pengguna root, lalu jalankan skrip ini lagi." | |
exit 1 | |
fi | |
echo "=======================Titan Node=======================" |
import { v4 as uuidV4 } from "uuid"; | |
import { uniqueNamesGenerator, Config, names } from "unique-names-generator"; | |
const config: Config = { | |
dictionaries: [names], | |
}; | |
export type Payment = { | |
id: string; | |
amount: number; |
marp | theme |
---|---|
true |
default |
Powered by kroki.io
Free Windows Server 2022 Standard Product Key | |
HP9DJ-NK2X6-4QPCH-8HY8H-6X2XY | |
RRNMT-FP29D-CHKCH-GWQP2-DDDVB | |
44QN4-X3R72-9X3VK-3DWD6-HFWDM | |
Free Windows Server 2022 Datacenter Product Key | |
WX4NM-KYWYW-QJJR4-XV3QB-6VM33 | |
Download windows Sever 2022 Evaluation edition: | |
Windows Server 2022 Evaluation English |
import tiktoken | |
import langdetect | |
T = tiktoken.get_encoding("o200k_base") | |
length_dict = {} | |
for i in range(T.n_vocab): | |
try: | |
length_dict[i] = len(T.decode([i])) | |
except: |
/* | |
* Legacy Particle System Updater | |
* A tool that can be used to convert Legacy Particle Systems into new Particle System Components. | |
* https://forum.unity.com/threads/release-legacy-particle-system-updater.510879/ | |
* | |
* v1.0 | |
* Initial release | |
* | |
* v1.1 | |
* Fixed incorrect billboard mode |
# No Power Wasted 2500 V0.322 ONLY FOR TESTING !!!! | |
# ESPHome Software für alle gängigen Versionen des Balkonspeichers xy2500. | |
# Diese Version ist speziell für Verwendung mit dem Home Assistant ausgelegt und | |
# inkludiert die Kommunikation mit diesem, Regelung für Nulleinspeisung | |
# und in Zukunft einiges mehr. | |
# Die Kommunikation mit dem Balkonspeichers xy2500 basiert auf der Arbeit von noone2K. | |
# Die Hauptseite für neue Entwicklungen, Integration MQTT, openhab usw. findet ihr unter: | |
# https://gist.github.com/noone2k/2ddea4c9bf116aaaefb8626b064d9a41 | |
# | |
# Mögen euch die Bits gnädig sein, |